[genshi] Print string as HTML
Posted
by infinito
on Stack Overflow
See other posts from Stack Overflow
or by infinito
Published on 2010-05-07T07:03:21Z
Indexed on
2010/05/07
7:38 UTC
Read the original article
Hit count: 235
Hello,
I would like to know if is there any way to convert a plain unicode string to HTML in Genshi, so, for example, it renders newlines as <br/>
.
I want this to render some text entered in a textarea.
Thanks in advance!
© Stack Overflow or respective owner